package cn.supermarket.pojo.dto;

import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
public class StockTimeAddDTO implements Serializable {

    private static final long serialVersionUID = 1L;



    /**
     * 商品id
     */
    private Long productId;

    /**
     * 商品编号
     */
    private String number;

    /**
     * 商品名称
     */
    private String productName;

    /**
     * 进货日期
     */
    private LocalDate purchaseDate;

    /**
     * 保质期
     */
    private Long guaranteeTime;

    /**
     * 进价
     */
    private BigDecimal buyPrice;


    /**
     *售价
     */
    private BigDecimal sellingPrice;


    /**
     * 优惠金额
     */
    private BigDecimal discountPrice;

    /**
     * 折扣率
     */
    private BigDecimal discount;

    /**
     * 数量
     */
    private BigDecimal counts;

    /**
     * 数量警戒线
     */
    private BigDecimal warningLine;

    /**
     * 供货商
     */
    private String supplier;


}
